version 7.0log using ECSA_enpp.log, replace#delimit ;*     ***************************************************************** *;*     ***************************************************************** *;*   File-Name:  eup1_enpp.do                                            *;*   Date:       October 24, 2001                                        *;*   Author:     MRG                                                     *;*   Purpose:    Read eup.dta dataset: Basic Model                      *;*   Input File: eup.dta                                                *;*   Output File:ECSA_enpp.log                                           *;*   Data Output:                                                        *;*   Previous file:                                                      *;*   Machine:    system11                                                *;*     ****************************************************************  *;*     ****************************************************************  *;set mem 10m;use h:\ECSA\dofiles\eup.dta;*     ****************************************************************  *;*     Rename some of the variables to coincide more clearly with paper  *;*     ****************************************************************  *;rename bbdrlmag logmag_leftbbd ;rename bbdrstfm  strongfm_leftbbd;rename bbdrtarg targets_leftbbd;rename ddebt1 lagdebt;rename dbtserv2 debtcosts;rename growth gdp;rename pol1 govtype1;rename pol2 govtype2;rename pol3 govtype3;rename partbbd2 leftbbd;rename wkbpart leftwkb;generate logmag_leftwkb = logmag*leftwkb;generate strongfm_leftwkb = strongfm*leftwkb;generate targets_leftwkb = targets*leftwkb;*     ****************************************************************  *;*     ****************************************************************  *;*       Now instead of using logmag as a measure of ideological         *;*       diversity, why not simply use the effective number of parties   *;*       in parliament.  This is preferred to the effective number of    *;*       elective parties.                                               *;*     ****************************************************************  *;*     ****************************************************************  *;*     ****************************************************************  *;*                   Need to generate some new variables                 *;*     ****************************************************************  *;generate enpp_leftbbd=leftbbd*enpp;generate enpp_leftwkb=leftwkb*enpp; *     ****************************************************************  *;*            Now rerun basic model: Using BBD for left                  *;*            Equivalent to Model I B in paper with enpp                 *;*     ****************************************************************  *;xtpcse  ddebt leftbbd enpp strongfm targets enpp_leftbbd         strongfm_leftbbd targets_leftbbd lagdebt unemp  gdp debtcosts         govtype1 govtype2 govtype3 if year>1980 & year<1993,p ;*     ****************************************************************  *;*                 Now drop strongfm_leftbbd and targets_leftbbd         *;*                 Equivalent to Model II B in paper with enpp           *;*     ****************************************************************  *;xtpcse  ddebt leftbbd enpp strongfm targets enpp_leftbbd         lagdebt unemp  gdp debtcosts govtype1 govtype2 govtype3 if         year>1980 & year<1993,p ;        *     ****************************************************************  *;*                 Now drop all interaction terms                        *;*            Equivalent to Model III B in paper with enpp               *;*     ****************************************************************  *;xtpcse  ddebt leftbbd enpp strongfm targets lagdebt unemp  gdp         debtcosts govtype1 govtype2 govtype3 if year>1980 & year<1993,p ;*     ****************************************************************  *;*     ****************************************************************  *;*                Now do the same with  wkb as left measure              *;*     ****************************************************************  *;*     ****************************************************************  *;*     ****************************************************************  *;*                 Now run basic model: Using WKB for left               *;*                Equivalent to Model I A in paper with enpp             *;*     ****************************************************************  *;xtpcse  ddebt leftwkb enpp strongfm targets enpp_leftwkb         strongfm_leftwkb targets_leftwkb lagdebt unemp  gdp debtcosts         govtype1 govtype2 govtype3 if year>1980 & year<1993,p ;*     ****************************************************************  *;*                 Now drop strongfm_leftwkb and targets_leftwkb         *;*                Equivalent to Model II A in paper with enpp            *;*     ****************************************************************  *;xtpcse  ddebt leftwkb enpp strongfm targets enpp_leftwkb         lagdebt unemp  gdp debtcosts govtype1 govtype2 govtype3 if         year>1980 & year<1993,p ;        *     ****************************************************************  *;*                 Now drop all interaction terms                        *;*           Equivalent to Model III A in paper with enpp                *;*     ****************************************************************  *;xtpcse  ddebt leftwkb enpp strongfm targets lagdebt unemp  gdp         debtcosts govtype1 govtype2 govtype3 if year>1980 & year<1993,p ;                              save    ECSA_enpp, replace;exit;